# $Id: PKGBUILD 182380 2013-04-09 18:42:44Z ioni $
# Maintainer: Ionut Biru <ibiru@archlinux.org>
pkgname=orc
pkgver=0.4.17
pkgrel=1
pkgdesc="The Oild Runtime Compiler"
arch=('i686' 'x86_64')
license=('custom')
url="http://code.entropywave.com/projects/orc/"
depends=('glibc')
options=('!libtool')
source=(http://code.entropywave.com/download/$pkgname/$pkgname-$pkgver.tar.gz)
md5sums=('af1bf3dab9e69f3c36f389285e2a12a1')

build () {
    cd "$srcdir/$pkgname-$pkgver"
    ./configure --prefix=/usr --disable-static
    make
}

package() {
    cd "$srcdir/$pkgname-$pkgver"
    make DESTDIR="$pkgdir" install
    install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"
}
